<template>
  <div>
    <naive-navbar
      :routes="routes"
    />
    <slot />
  </div>
</template>

<script setup lang="ts">
import type { MenuLinkRoute } from '#build/types/naiveui'

const routes: MenuLinkRoute[] = [
  {
    label: 'Page 1',
    to: '/navigation?layout=navbar',
  },
  {
    label: 'Page 2',
    to: '/navigation/other?layout=navbar',
  },
]
</script>
